package com.xframe.domain.sys;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.AutoFill;
import com.xframe.xdal.core.annotation.XColumn;
import com.xframe.xdal.core.annotation.XSelectItem;
import com.xframe.xdal.core.annotation.XTable;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: 字段处理器定义
 * @ClassName: sysValproc
 * @Author: Lean.Liu
 * @CreateTime: 2023/4/3 18:38
 **/
@Data
@Accessors(chain = true)
@XTable(value = "SYS_VALPROC", label = "字段处理器定义表")
@XSelectItem(keyName = "valprocId",codeName = "className",textName = "valDesc")
public class SysValproc extends BaseModel {


    /**
     * 处理器ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "VALPROC_ID", primaryKeyFlag = true,desc = "处理器ID")
    private Long valprocId;

    /**
     * 类名称
     */
    @XColumn(name = "CLASS_NAME",desc = "类名称",uniqueFlag = true)
    private String className;

    /**
     * 描述
     */
    @XColumn(name = "VAL_DESC",desc = "描述")
    private String valDesc;

    /**
     * 附加参数
     */
    @XColumn(name = "VAL_ARGS",desc = "附加参数")
    private String valArgs;


    /**
     *  自动填充类型
     */
    @XColumn(name = "AU_TYPE",desc = "自动填充类型")
    private String auType;

}
